package k2_oop.p7_javaLang.demo03;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class UseCheckedException {

    public static void test1() throws FileNotFoundException {
        new FileInputStream("");
    }

    public static void test2(){
        try {
            test1();
        } catch (FileNotFoundException e) {
            System.out.println();
        }
    }

    public static void main(String[] args) {
        test2();
    }

}
